/* HorseNRiders Custom Site Styles */

/* Scrolling Pre-Header Promotion */
#promo-message .hnr-promo-scroll {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

#promo-message .hnr-promo-scroll > span {
    display: inline-block;
    padding-left: 100%;
    animation: hnrPromoScroll 30s linear infinite;
}

@keyframes hnrPromoScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
/* Center page title on Check Your Cart & Save only */
body.cart-savings .page-title {
    text-align: center !important;
}
/* Center the main content area on Check Your Cart & Save only */
body.cart-savings .column-right.large-push-one-fourth {
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    float: none !important;
}
/* =========================================
   HorseNRiders - Back In Stock Waitlist
   ========================================= */

form[name="waitlist_add"] {
    margin-top: 8px;
    padding: 10px 16px 10px;
    width: 100%;
    background: linear-gradient(135deg, #f4dda0 0%, #e8c477 55%, #d6a84e 100%);
    border: 1px solid #a8792d;
    box-sizing: border-box;
}

/* Waitlist heading area added on Product Display */
form[name="waitlist_add"] > div:first-child {
    margin-bottom: 6px;
}

/* Form labels */
form[name="waitlist_add"] label {
    display: block;
    margin: 2px 0 1px;
    font-weight: 600;
}

/* Email field */
form[name="waitlist_add"] input[type="email"] {
    width: 100%;
    height: 36px;
    padding: 6px 9px;
    border: 1px solid #b9b9b9;
    box-sizing: border-box;
}

/* Quantity field */
form[name="waitlist_add"] input[type="number"] {
    width: 80px;
    height: 34px;
    margin-top: 2px;
    padding: 5px 8px;
    border: 1px solid #b9b9b9;
    box-sizing: border-box;
}

/* Sign Up button */
form[name="waitlist_add"] input[type="submit"] {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 22px;
    background: #1f4568;
    color: #ffffff;
    border: 0;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Button hover */
form[name="waitlist_add"] input[type="submit"]:hover {
    background: #173650;
}
/* Remove extra line break after Waitlist labels */
form[name="waitlist_add"] label + br {
    display: none;
}
/* ==========================================
   HorseNRiders - Back In Stock Alerts Page
   ========================================== */

body#js-back-in-stock-alerts .main-content-row {
    padding-top: 18px;
    padding-bottom: 24px;
}

body#js-back-in-stock-alerts .main-content-row > .column.whole {
    max-width: 980px;
    margin: 0 auto;
}

body#js-back-in-stock-alerts .main-content-row > .column.whole > p:first-child {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin: 4px 0 10px;
}

body#js-back-in-stock-alerts .main-content-row > .column.whole > p:nth-child(2) {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 22px;
    line-height: 1.6;
}

body#js-back-in-stock-alerts .main-content-row h2 {
    color: #1f4f78;
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 10px;
}

body#js-back-in-stock-alerts .main-content-row ol {
    margin: 0 0 22px 24px;
    padding: 0;
    line-height: 1.7;
}

body#js-back-in-stock-alerts .main-content-row li {
    margin-bottom: 5px;
}

body#js-back-in-stock-alerts .main-content-row p {
    line-height: 1.6;
}

body#js-back-in-stock-alerts .main-content-row a {
    color: #1f4f78;
    font-weight: 700;
    text-decoration: underline;
}
/* Highlighted How It Works section */
body#js-back-in-stock-alerts .hnr-backstock-how {
    background: linear-gradient(135deg, #f4dda0 0%, #e8c477 55%, #d6a84e 100%);
    border: 1px solid #a8792d;
    padding: 18px 24px;
    margin: 20px 0 24px;
    box-sizing: border-box;
}

body#js-back-in-stock-alerts .hnr-backstock-how h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

body#js-back-in-stock-alerts .hnr-backstock-how ol {
    margin-bottom: 0;
}
/* Center Back In Stock Alerts page title */
body#js-back-in-stock-alerts .page-title {
    text-align: center !important;
}
/* Center Back In Stock information under page title */
body#js-back-in-stock-alerts .main-content-row > .column.whole {
    position: relative;
    left: -75px;
}
/* Decorative divider below Back In Stock intro */
body#js-back-in-stock-alerts .main-content-row > .column.whole > p:nth-child(2)::after {
    content: "✦";
    display: block;
    width: 180px;
    margin: 16px auto 14px;
    text-align: center;
    color: #b58a42;
    font-size: 13px;
    letter-spacing: 8px;
    border-bottom: 1px solid #d8b36a;
    line-height: 1px;
}
/* ========================================
   HorseNRiders - Customer Gallery
   ======================================== */

body#js-customer-gallery .main-content-row {
    padding-top: 18px;
    padding-bottom: 24px;
}

body#js-customer-gallery .main-content-row > .column.whole {
    max-width: 900px;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

body#js-customer-gallery .page-title {
    text-align: center !important;
}

body#js-customer-gallery .hnr-customer-gallery-intro {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 26px;
    text-align: center;
    line-height: 1.6;

}

body#js-customer-gallery .hnr-gallery-tagline {
    color: #1f4f78;
    font-size: 20px;
    font-weight: 700;
    margin: 4px 0 12px;
}

/* Want to Be Featured invitation */
body#js-customer-gallery .hnr-gallery-invite {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 22px 26px;
    background: linear-gradient(135deg, #f4dda0 0%, #e8c477 55%, #d6a84e 100%);
    border: 1px solid #a8792d;
    box-sizing: border-box;
    line-height: 1.6;
    color: #3e2a1d !important;
}
body#js-customer-gallery .hnr-gallery-invite p,
body#js-customer-gallery .hnr-gallery-invite li {
    color: #2b2118 !important;
}

body#js-customer-gallery .hnr-gallery-invite h2 {
    color: #1f4f78;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 14px;
    text-align: center;
}

body#js-customer-gallery .hnr-gallery-invite a {
    color: #1f4f78;
    font-weight: 700;
    text-decoration: underline;
}

body#js-customer-gallery .hnr-gallery-invite ul {
    margin: 8px 0 16px 22px;
}

body#js-customer-gallery .hnr-gallery-review-note {
    margin-bottom: 0;
    font-size: 13px;
}
/* Fine-tune Customer Gallery horizontal centering */
body#js-customer-gallery .main-content-row > .column.whole {
    transform: translateX(-145px);
}
/* Customer Gallery - Mobile Position Reset */
@media screen and (max-width: 767px) {
    body#js-customer-gallery .main-content-row > .column.whole {
        transform: none !important;
    }
/* ========================================
   Customer Gallery - Customer Story Layout
   ======================================== */

body#js-customer-gallery .hnr-customer-story {
    max-width: 800px;
    margin: 34px auto 36px;
    display: flex !important;
    align-items: flex-start;
    gap: 32px;
}

body#js-customer-gallery .hnr-customer-story-image {
    flex: 0 0 340px;
}

body#js-customer-gallery .hnr-customer-story-image img {
    display: block;
    width: 100%;
    height: auto;
}

body#js-customer-gallery .hnr-customer-story-content {
    flex: 1;
    min-width: 0;
}

/* Mobile Customer Story Stack */
@media screen and (max-width: 767px) {
    body#js-customer-gallery .hnr-customer-story {
        display: block;
        max-width: 100%;
        margin: 26px auto 30px;
    }

    body#js-customer-gallery .hnr-customer-story-image {
        width: 100%;
        max-width: 340px;
        margin: 0 auto 20px;
    }
}
/* =========================================
   HorseNRiders - Customer Gallery Background
   Allow parchment page background to show
   ========================================= */

body#js-customer-gallery .main-content-row.bg-white {
    background-color: transparent !important;
}